package com.atguigu.lease.app.service;

import com.atguigu.lease.model.bean.RoomInfo;
import com.atguigu.lease.model.vo.app.RoomDetailVo;
import com.atguigu.lease.model.vo.app.RoomItemVo;
import com.atguigu.lease.model.vo.app.RoomQueryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author YouKinn
* @description 针对表【room_info(房间信息表)】的数据库操作Service
* @createDate 2025-06-20 20:18:17
*/
public interface RoomInfoService extends IService<RoomInfo> {

    Page<RoomItemVo> pageItem(Long current, Long size, RoomQueryVo queryVo);

    RoomDetailVo getDetailById(Long id);

    Page<RoomItemVo> pageItemByApartmentId(Long id, Long current, Long size);
}
